import SplashScreen from './src/view/splash';
import LoginScreen from './src/view/login';
import UserAgreementScreen from './src/view/login/UserAgreementScreen.tsx';
import PrivacyPolicyScreen from './src/view/login/PrivacyPolicyScreen.tsx';
import CheckSmsCaptchaScreen from './src/view/login/CheckSmsCaptchaScreen.tsx';
import TabScreen from './src/view/tab/TabPage.tsx';
import AccountInformationScreen from './src/view/user/accountInFormationScreen';
import PersonInfoScreen from './src/view/user/personInfo';
import WebViewScreen from './src/view/WebView.tsx';
import ReceivingAddress from './src/view/user/receivingAddress';
import BindAddress from './src/view/user/receivingAddress/BindAddress.tsx';
import SelectMapPoint from './src/view/user/receivingAddress/SelectMapPoint.tsx';
import EmergencyContact from './src/view/user/emergencyContact';
import MemberBalance from './src/view/user/memberBalance';
import PointsManagement from './src/view/user/pointsManagement';
import PointsDetails from './src/view/user/pointsManagement/PointsDetails.tsx';
import ProductSubmission from './src/view/home/productSubmission';
import PropertyPayment from './src/view/home/propertyPayment';
import HealthClock from './src/view/home/healthClock';
import FireDetection from './src/view/home/fireDetection';
import ActivityApply from './src/view/home/activityApply/index.tsx';
import ActivityDetail from './src/view/home/activityApply/ActivityDetail.tsx';
import InformDetails from './src/view/home/informDetails/index.tsx';
import Informlist from './src/view/home/informDetails/InformList.tsx';
import TrappedReport from './src/view/home/trappedReport/index.tsx';
import SendNotify from './src/view/home/sendNotify/index.tsx';
import MerchantProduct from './src/view/home/merchantProduct';
import RescueProgress from './src/view/home/rescueProgress';
import OrderEvaluate from './src/view/home/orderEvaluate';


import ProductDetails from './src/view/home/productDetails';

const screenRoute = [
  { name: 'splash', options: { headerShown: false }, component: SplashScreen },
  { name: 'login', options: { headerShown: false }, component: LoginScreen },
  { name: 'webViewScreen', options: { headerShown: true, title: '' }, component: WebViewScreen },
  { name: 'userAgreement', options: { title: '软件许可及服务协议' }, component: UserAgreementScreen },
  { name: 'privacyPolicy', options: { title: '隐私政策' }, component: PrivacyPolicyScreen },
  { name: 'checkSmsCaptchaScreen', options: { headerShown: false }, component: CheckSmsCaptchaScreen },
  { name: 'tab', options: { headerShown: false }, component: TabScreen },
  { name: 'accountInformationScreen', options: { headerShown: true, title: '编辑账号信息' }, component: AccountInformationScreen },
  { name: 'personInfoScreen', options: { headerShown: true, title: '个人信息' }, component: PersonInfoScreen },
  { name: 'receivingAddress', options: { headerShown: true, title: '收货地址' }, component: ReceivingAddress },
  { name: 'bindAddress', options: { headerShown: true, title: '收货地址' }, component: BindAddress },
  { name: 'selectMapPoint', options: { headerShown: true, title: '选择地址' }, component: SelectMapPoint },
  { name: 'emergencyContact', options: { headerShown: true, title: '紧急联系人' }, component: EmergencyContact },
  { name: 'memberBalance', options: { headerShown: true, title: '会员余额' }, component: MemberBalance },
  { name: 'pointsManagement', options: { headerShown: true, title: '积分管理' }, component: PointsManagement },
  { name: 'pointsDetails', options: { headerShown: true, title: '积分账单' }, component: PointsDetails },
  { name: 'propertyPayment', options: { headerShown: true, title: '物业缴费' }, component: PropertyPayment },
  { name: 'healthClock', options: { headerShown: true, title: '健康打卡' }, component: HealthClock },
  { name: 'productSubmission', options: { headerShown: true, title: '提交' }, component: ProductSubmission },
  { name: 'fireDetection', options: { headerShown: true, title: '消防报警' }, component: FireDetection },
  { name: 'activityApply', options: { headerShown: true, title: '活动报名' }, component: ActivityApply },
  { name: 'activityDetail', options: { headerShown: true, title: '活动详情' }, component: ActivityDetail },
  { name: 'informDetails', options: { headerShown: true, title: '通知详情' }, component: InformDetails },
  { name: 'informList', options: { headerShown: true, title: '通知列表' }, component: Informlist },
  { name: 'trappedReport', options: { headerShown: true, title: '上报受困情况' }, component: TrappedReport },
  { name: 'sendNotify', options: { headerShown: true, title: '发起通知' }, component: SendNotify },
  { name: 'merchantProduct', options: { headerShown: false }, component: MerchantProduct },
  { name: 'rescueProgress', options: { headerShown: true, title: '救援进度' }, component: RescueProgress },
  { name: 'orderEvaluate', options: { headerShown: true, title: '订单评价' }, component: OrderEvaluate },
  { name: 'productDetails', options: { headerShown: false }, component: ProductDetails },
];

export default screenRoute;
